package cn.well.cloud.base.util;
/**
 * oss 图片路径转  img cdn加速 路径
 * @author feifan
 *
 */
public class OssToImgUtil {
	public static String OssToImg(String img){
		
		img = img.replaceAll("http://ffxl.oss-cn-shanghai.aliyuncs.com", "https://img.feifanxinli.com");
		
		return img;
		
	}
	
	public static String HttpToHttps(String img){
		
		img = img.replaceAll("http", "https");
		
		return img;
		
	}
}
